import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import store from '@/store';
import Counter from '@/components/counter'

//!注意react-redux传的是store属性，不是原生的Provider
ReactDOM.render(<Provider store={store}>
    <Counter/>
</Provider>, document.getElementById('root'));